/**
 * 首页js
 *
 * @author mhh
 */

$(function(){

});

function join(){
    $.ajax({
        url: "game/join",
        type: "post",
        dataType: "json",
        data: {

        },
        success: function(data){
            console.log(data);
        }
    });
}

function join1(){
    $.ajax({
        url: "game/join",
        type: "post",
        dataType: "json",
        data: {

        },
        success: function(data){
            console.log(data);
            createWebSocket("192.168.20.100", "8888");
        }
    });
}